﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/admin.master" AutoEventWireup="true" CodeFile="password.aspx.cs" Inherits="admin_password" %>
<%@ MasterType VirtualPath="~/admin/admin.master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:UpdatePanel ID="upEdit" runat="server" ChildrenAsTriggers="false" UpdateMode="Conditional" RenderMode="Inline">
        <ContentTemplate>
            <table class="tblist" border="0" cellpadding="0" cellspacing="0" >
                <tr>
                    <th width="100px" align="right">旧密码：</th>
                    <td align="left">
                        <asp:TextBox ID="tbOldPwd" runat="server"  TextMode="Password"/><asp:RequiredFieldValidator
                            ID="RequiredFieldValidator3" runat="server" ErrorMessage="密码不能为空" ControlToValidate="tbOldPwd"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <th align="right">新密码：</th>
                    <td align="left">
                        <asp:TextBox ID="tbNewPwd" runat="server"  TextMode="Password"/><asp:RequiredFieldValidator ID="RequiredFieldValidator1"
                            runat="server" ErrorMessage="密码不能为空" ControlToValidate="tbNewPwd"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <th align="right">确认新密码：</th>
                    <td align="left">
                        <asp:TextBox ID="tbConPwd" runat="server"  TextMode="Password"/><asp:RequiredFieldValidator ID="RequiredFieldValidator2"
                            runat="server" ErrorMessage="密码不能为空" ControlToValidate="tbConPwd"></asp:RequiredFieldValidator><asp:CompareValidator ID="CompareValidator1"
                            runat="server" ErrorMessage="两次输入的密码不同" ControlToValidate="tbConPwd" ControlToCompare="tbNewPwd"></asp:CompareValidator>
                    </td>
                </tr>
                <tr>
                    <td align="center" colspan="2">
                        <asp:Button ID="btnSubmit" runat="server" Text="提交" CssClass="button_submit" />
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>

